<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>button 按钮 | smartAgri</title>
    <meta name="description" content="智慧前端项目文档">
    <link rel="stylesheet" href="/test/assets/style.12fc84cd.css">
    <link rel="modulepreload" href="/test/assets/Home.0acee10a.js">
    <link rel="modulepreload" href="/test/assets/app.8d0a65ca.js">
    <link rel="modulepreload" href="/test/assets/components_vue3_button.md.0794f010.lean.js">
    <link rel="modulepreload" href="/test/assets/app.8d0a65ca.js">
    <meta name="author" content="smart-agri Team">
    <meta name="keywords" content="vitejs, vite, ant-design-vue, vue">
    <link rel="icon" type="image/svg+xml" href="/logo.svg">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="keywords" content="vue SmartAgri Admin docs">
    <link rel="icon" href="/zhny.ico">
    <meta name="twitter:title" content="button 按钮 | smartAgri">
    <meta property="og:title" content="button 按钮 | smartAgri">
  </head>
  <body>
    <div id="app"><!--[--><div class="theme"><header class="nav-bar" data-v-c86e40f0><div class="sidebar-button" data-v-c86e40f0><svg class="icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z" class></path></svg></div><a class="nav-bar-title" href="/test/" aria-label="smartAgri, back to home" data-v-c86e40f0 data-v-dc837cb8><img class="logo" src="/test/logo.jpg" alt="Logo" data-v-dc837cb8> smartAgri</a><div class="flex-grow" data-v-c86e40f0></div><div class="nav" data-v-c86e40f0><nav class="nav-links" data-v-c86e40f0 data-v-0cf770ed><!--[--><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>指南</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/guide/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>指南</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>项目文档汇总</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/finical/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>新财务2.0</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/erp3/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>ERP3.0重构</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/food-safety/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>食安平台</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/customer-app/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>客户下单APP</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/supplier-app/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>供应商APP</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/tally-app/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>麦小菜APP</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>方案合集</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/schemeCollection/scheme/schemeLibrary" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>方案合集</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>公共组件</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/components/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>介绍</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/components/vue3/button" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>vue3组件</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/components/vue3/button" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>vue2组件</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/components/uni-app/waterlist" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>uni-app组件</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>工具函数</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/comprehension/tools/toolsLibrary" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>工具库</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>问题汇总</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/error/component" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>组件问题</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/error/errorList/踩坑合集" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>CSS问题</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/error/mp/uniapp" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>小程序问题</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>规范</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/specification/JavaScript" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>JavaScript规范</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/specification/Vue" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>vue规范</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/specification/GitFenZhi" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>git分支建立和提交规范</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/specification/Others" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>其他大厂前端代码规范</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>相关链接</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://www.tslang.cn/docs/home.html" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>TypeScript</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://www.antdv.com/docs/vue/introduce-cn" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>Antd</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://element.eleme.cn/#/zh-CN" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>element</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://developer.mozilla.org/zh-CN/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>MDN</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://vitejs.cn/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>Vite</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://v2.cn.vuejs.org/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>Vue2</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://cn.vuejs.org/guide/introduction.html" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>Vue3</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://www.npmjs.com/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>npm</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://www.bejson.com/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>在线JSON校验格式化工具</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><!--]--></ul></div></div><!--]--><!----><!-- <div v-if="repo" class="item">
      <NavLink :item="repo" />
    </div> --></nav></div><div class="nav-icons" data-v-c86e40f0><div class="item" data-v-c86e40f0><button class="nav-btn" aria-label="Toggle Theme" data-v-c86e40f0><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1.2em" height="1.2em" preserveaspectratio="xMidYMid meet" viewbox="0 0 24 24" style="display:none;"><path d="M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2h.1A6.979 6.979 0 0 0 10 7zm-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938A7.999 7.999 0 0 0 4 12z" fill="currentColor"></path></svg><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1.2em" height="1.2em" preserveaspectratio="xMidYMid meet" viewbox="0 0 24 24" style=""><path d="M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05L3.515 4.93zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414l-2.121-2.121zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414l2.121-2.121zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414l2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z" fill="currentColor"></path></svg></button></div><!----></div><!--[--><!--]--></header><!--[--><aside class="sidebar" data-v-3e48a26e><nav class="nav-links nav" data-v-3e48a26e data-v-0cf770ed><!--[--><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>指南</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/guide/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>指南</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>项目文档汇总</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/finical/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>新财务2.0</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/erp3/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>ERP3.0重构</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/food-safety/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>食安平台</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/customer-app/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>客户下单APP</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/supplier-app/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>供应商APP</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/project/tally-app/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>麦小菜APP</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>方案合集</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/schemeCollection/scheme/schemeLibrary" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>方案合集</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>公共组件</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/components/introduction" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>介绍</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/components/vue3/button" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>vue3组件</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/components/vue3/button" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>vue2组件</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/components/uni-app/waterlist" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>uni-app组件</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>工具函数</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/comprehension/tools/toolsLibrary" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>工具库</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>问题汇总</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/error/component" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>组件问题</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/error/errorList/踩坑合集" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>CSS问题</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/error/mp/uniapp" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>小程序问题</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>规范</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/specification/JavaScript" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>JavaScript规范</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/specification/Vue" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>vue规范</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/specification/GitFenZhi" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>git分支建立和提交规范</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item" href="/test/specification/Others" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>其他大厂前端代码规范</span><span class="icon" data-v-d2247c54><!----></span></a></div></li><!--]--></ul></div></div><div class="item" data-v-0cf770ed><div class="nav-dropdown-link" data-v-0cf770ed data-v-33970600><button class="button" data-v-33970600><span class="button-text" data-v-33970600>相关链接</span><span class="right button-arrow" data-v-33970600></span></button><ul class="dialog" data-v-33970600><!--[--><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://www.tslang.cn/docs/home.html" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>TypeScript</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://www.antdv.com/docs/vue/introduce-cn" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>Antd</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://element.eleme.cn/#/zh-CN" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>element</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://developer.mozilla.org/zh-CN/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>MDN</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://vitejs.cn/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>Vite</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://v2.cn.vuejs.org/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>Vue2</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://cn.vuejs.org/guide/introduction.html" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>Vue3</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://www.npmjs.com/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>npm</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><li class="dialog-item" data-v-33970600><div class="nav-dropdown-link-item" data-v-33970600 data-v-d2247c54><a class="item isExternal" href="https://www.bejson.com/" target="_blank" rel="noopener noreferrer" data-v-d2247c54><span class="arrow" data-v-d2247c54></span><span class="text" data-v-d2247c54>在线JSON校验格式化工具</span><span class="icon" data-v-d2247c54><svg class="icon outbound" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15" data-v-d2247c54><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></span></a></div></li><!--]--></ul></div></div><!--]--><!----><!-- <div v-if="repo" class="item">
      <NavLink :item="repo" />
    </div> --></nav><!--[--><!--]--><ul class="sidebar-links" data-v-3e48a26e><!--[--><li class="sidebar-link"><p class="sidebar-link-item">组件</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/test/components/introduction">前言</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">vue3组件</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item active" href="/test/components/vue3/button">Button</a><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="#代码示例">代码示例</a><!----></li><li class="sidebar-link"><a class="sidebar-link-item" href="#props">Props</a><!----></li></ul></li><li class="sidebar-link"><a class="sidebar-link-item" href="/test/components/vue3/layout">Layout</a><!----></li></ul></li><li class="sidebar-link"><p class="sidebar-link-item">uni-app组件</p><ul class="sidebar-links"><li class="sidebar-link"><a class="sidebar-link-item" href="/test/components/uni-app/waterlist">WaterList</a><!----></li></ul></li><!--]--></ul><!--[--><!--]--></aside><!-- <Slugs /> --><!--]--><!-- TODO: make this button accessible --><div class="sidebar-mask"></div><main class="page" data-v-4c107763><div class="container" data-v-4c107763><!--[--><!--]--><div class="content" data-v-4c107763><div data-v-4c107763><h1 id="button-按钮"><a class="header-anchor" href="#button-按钮" aria-hidden="true">#</a> button 按钮</h1><p>二次封装按钮组件，且使用相同的组件名替换全局的 <code>a-button</code> 组件</p><div class="tip custom-block"><p class="custom-block-title">TIP</p><ul><li>按钮不需要 import，已经全局注册，直接使用 <code>a-button</code> 标签即可</li><li>如果是 Tsx 文件，需要手动 import</li></ul></div><h2 id="代码示例"><a class="header-anchor" href="#代码示例" aria-hidden="true">#</a> 代码示例</h2><div class="language-vue"><pre><code><span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>template</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>a-button</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>primary<span class="token punctuation">&quot;</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>ml-2<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span> 主按钮 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>a-button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>a-button</span> <span class="token attr-name">type</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>default<span class="token punctuation">&quot;</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>ml-2<span class="token punctuation">&quot;</span></span><span class="token punctuation">&gt;</span></span> 次要按钮 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>a-button</span><span class="token punctuation">&gt;</span></span>
  <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;</span>a-button</span> <span class="token attr-name">color</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>success<span class="token punctuation">&quot;</span></span> <span class="token attr-name">class</span><span class="token attr-value"><span class="token punctuation attr-equals">=</span><span class="token punctuation">&quot;</span>ml-2<span class="token punctuation">&quot;</span></span> <span class="token attr-name">disabled</span><span class="token punctuation">&gt;</span></span> 禁用 <span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>a-button</span><span class="token punctuation">&gt;</span></span>
<span class="token tag"><span class="token tag"><span class="token punctuation">&lt;/</span>template</span><span class="token punctuation">&gt;</span></span>
</code></pre></div><h2 id="props"><a class="header-anchor" href="#props" aria-hidden="true">#</a> Props</h2><div class="tip custom-block"><p class="custom-block-title">提示</p><p><strong>保持</strong> <a href="https://2x.antdv.com/components/button-cn/" target="_blank" rel="noopener noreferrer">anv design button 组件</a> <strong>原有功能</strong>的情况下扩展以下属性</p></div><table><thead><tr><th>属性</th><th>类型</th><th>默认值</th><th>说明</th></tr></thead><tbody><tr><td>color</td><td><code>&#39;error&#39;,&#39;warning&#39;, &#39;success&#39;</code></td><td>-</td><td>按钮的颜色场景状态颜色，</td></tr><tr><td>preIcon</td><td><code>string</code></td><td>-</td><td>按钮文本前图标，参考 Icon 组件</td></tr><tr><td>postIcon</td><td><code>string</code></td><td>-</td><td>按钮文本后图标，参考 Icon 组件</td></tr><tr><td>iconSize</td><td><code>number</code></td><td><code>14</code></td><td>按钮图标大小</td></tr></tbody></table></div></div><footer class="page-footer" data-v-4c107763 data-v-ddc19c16><div class="edit" data-v-ddc19c16><div class="edit-link" data-v-ddc19c16 data-v-5c10c4bc><!----></div></div><div class="updated" data-v-ddc19c16><!----></div></footer><div class="next-and-prev-link" data-v-4c107763 data-v-0002a634><div class="container" data-v-0002a634><div class="prev" data-v-0002a634><a class="link" href="/test/components/introduction" data-v-0002a634><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-prev" data-v-0002a634><path d="M19,11H7.4l5.3-5.3c0.4-0.4,0.4-1,0-1.4s-1-0.4-1.4,0l-7,7c-0.1,0.1-0.2,0.2-0.2,0.3c-0.1,0.2-0.1,0.5,0,0.8c0.1,0.1,0.1,0.2,0.2,0.3l7,7c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L7.4,13H19c0.6,0,1-0.4,1-1S19.6,11,19,11z"></path></svg><span class="text" data-v-0002a634>前言</span></a></div><div class="next" data-v-0002a634><a class="link" href="/test/components/vue3/layout" data-v-0002a634><span class="text" data-v-0002a634>Layout</span><svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24" class="icon icon-next" data-v-0002a634><path d="M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"></path></svg></a></div></div></div><!--[--><!--]--></div></main></div><!----><!--]--></div>
    <script>__VP_HASH_MAP__ = JSON.parse("{\"index.md\":\"4e115ee3\",\"readme.md\":\"29234daa\",\"components_introduction.md\":\"44282a5e\",\"error_component.md\":\"fb89350e\",\"guide_introduction.md\":\"1dc92eff\",\"specification_gitfenzhi.md\":\"95918a05\",\"specification_javascript.md\":\"eabf491e\",\"specification_others.md\":\"c6e73694\",\"specification_vue.md\":\"ec62d92c\",\"components_uni-app_waterlist.md\":\"19ee5089\",\"components_vue3_button.md\":\"0794f010\",\"components_vue3_layout.md\":\"408bfad0\",\"comprehension_datas_number.md\":\"b616f9c2\",\"comprehension_datas_string.md\":\"f2247365\",\"comprehension_tools_toolslibrary.md\":\"8b9638a4\",\"error_errorlist_踩坑合集.md\":\"8a36011b\",\"error_mp_uniapp.md\":\"e38481a1\",\"project_customer-app_introduction.md\":\"bfeabf6e\",\"project_erp3_introduction.md\":\"4d6d2c14\",\"project_finical_introduction.md\":\"51ef0fa6\",\"project_food-safety_introduction.md\":\"320e7cd1\",\"project_supplier-app_introduction.md\":\"78907d59\",\"project_tally-app_introduction.md\":\"a25b274f\",\"schemecollection_scheme_schemelibrary.md\":\"964e9557\",\"project_finical_scheme_dimensional.md\":\"f62a7e4b\",\"project_food-safety_demand-dynamics_details.md\":\"8efde325\",\"project_food-safety_other_details.md\":\"4c1a00ef\",\"project_erp3_scheme_basicupload_basicupload.md\":\"4fead758\"}")</script>
    <script type="module" async src="/test/assets/app.8d0a65ca.js"></script>
  </body>
</html>